package com.platform.user.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.util.Date;
import java.io.Serializable;

/**
 * (Announcement)实体类
 *
 * @author makejava
 * @since 2025-02-09 17:51:42
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Announcement implements Serializable {
    private static final long serialVersionUID = -40898582614608843L;

    private Integer id;

    private String title;

    private Integer type;

    private String text;

    private String imageCover;

    private Integer ifHide;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;


    private Integer ifTop;

}

